Fix vertical cursor motion when there are overlay strings at EOL.
authorEli Zaretskii <eliz@gnu.org>
Sat, 13 Apr 2013 08:54:02 +0000 (11:54 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 13 Apr 2013 08:54:02 +0000 (11:54 +0300)
commitd5cf3b3428fd817d1bc58ed797f397b1d500553b
treedaafa337cd7bdce9086dea68a7d13fe5af2c9bc5
parentfd46630bc711c200464885c7000780279edd0f20
Fix vertical cursor motion when there are overlay strings at EOL.

 src/indent.c (Fvertical_motion): Don't consider display strings on
 overlay strings as display strings on the buffer position we
 started from.  This prevents vertical cursor motion from jumping
 more than one line when there's an overlay string with a display
 property at end of line.
 Reported by Karl Chen <Karl.Chen@quarl.org> in
 http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00362.html.
src/ChangeLog
src/indent.c